home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
In Your Face Too!
/
in_your_face_cd.iso
/
mac
/
Stuff to View
/
End of Days CD ROM
/
Phase3
/
home.bak
< prev
next >
Wrap
Text File
|
1999-09-15
|
4KB
|
101 lines
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>E n d of D a y s</title>
<script language="JavaScript" src="dynlayer.js"></script>
<script language="JavaScript">
<!--
function init() {
dragObject = new DynLayer("star")
dragObject.dragActive = false
document.onmousedown = mouseDown
document.onmousemove = mouseMove
document.onmouseup = mouseUp
if (is.ns) document.captureEvents(Event.MOUSEDOWN | Event.MOUSEMOVE | Event.MOUSEUP)
}
function mouseDown(e) {
if ((is.ns && e.which!=1) || (is.ie && event.button!=1)) return true
var x = (is.ns)? e.pageX : event.x+document.body.scrollLeft
var y = (is.ns)? e.pageY : event.y+document.body.scrollTop
if (x>=dragObject.x && x<=dragObject.x+dragObject.w && y>=dragObject.y && y<=dragObject.y+dragObject.h) {
dragObject.dragOffsetX = x-dragObject.x
dragObject.dragOffsetY = y-dragObject.y
dragObject.dragActive = true
return false
}
else return true
}
function mouseMove(e) {
var x = (is.ns)? e.pageX : event.x+document.body.scrollLeft
var y = (is.ns)? e.pageY : event.y+document.body.scrollTop
if (dragObject.dragActive) {
audire_dist=Math.round(Math.sqrt(Math.pow(84-(x-dragObject.dragOffsetX),2)+Math.pow(187-(y-dragObject.dragOffsetY),2)))
tabulae_dist=Math.round(Math.sqrt(Math.pow(234-(x-dragObject.dragOffsetX),2)+Math.pow(162-(y-dragObject.dragOffsetY),2)))
linea_dist=Math.round(Math.sqrt(Math.pow(364-(x-dragObject.dragOffsetX),2)+Math.pow(230-(y-dragObject.dragOffsetY),2)))
videre_dist=Math.round(Math.sqrt(Math.pow(431-(x-dragObject.dragOffsetX),2)+Math.pow(317-(y-dragObject.dragOffsetY),2)))
if(Math.round(audire_dist)<45)
dragObject.moveTo(38,131)
else if(Math.round(tabulae_dist)<60 && y < 197)
dragObject.moveTo(168,107)
else if(Math.round(linea_dist)<95 && y < 280)
dragObject.moveTo(300,190)
else if(Math.round(videre_dist)>5 && y < 350 && x < 500 && x > 339 && y > 228)
dragObject.moveTo(370,270)
else
dragObject.moveTo(x-dragObject.dragOffsetX,y-dragObject.dragOffsetY)
return false
}
else return true
}
function mouseUp(e) {
var x = (is.ns)? e.pageX : event.x+document.body.scrollLeft
var y = (is.ns)? e.pageY : event.y+document.body.scrollTop
dragObject.dragActive = false
return true
}
//-->
</script>
</head>
<body bgcolor="#000000" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0 onLoad="init();">
<div id="bknd" style="position:absolute; left:0; top:0; width:600; z-index:10; visibility:visible;">
<img src="home.jpg" width=745 height=600 alt="" border="0">
</div>
<div ID="star" style="position:absolute; left:527; top:237; z-index:10; visibility:visible;">
<img src="star.gif" width=111 height=92 alt="" border="0">
</div>
<div ID="lnkone" style="position:absolute; left:38; top:167; z-index:10; visibility:visible;">
<a href="#" onMouseOver="document.images['audire'].src='audio.gif';" onMouseOut="document.images['audire'].src='audire.gif';"><img name="audire" src="audire.gif" width=95 height=31 alt="" border="0"></a>
</div>
<div ID="lnktwo" style="position:absolute; left:176; top:143; z-index:10; visibility:visible;">
<a href="#" onMouseOver="document.images['tabulae'].src='graphic.gif';" onMouseOut="document.images['tabulae'].src='tabulae.gif';"><img name="tabulae" src="tabulae.gif" width=112 height=31 alt="" border="0"></a>
</div>
<div ID="lnkthree" style="position:absolute; left:303; top:198; z-index:10; visibility:visible;">
<a href="#" onMouseOver="document.images['linea'].src='timeline.gif';" onMouseOut="document.images['linea'].src='lineatemporis.gif';"><img name="linea" src="lineatemporis.gif" width=129 height=64 alt="" border="0"></a>
</div>
<div ID="lnkfour" style="position:absolute; left:382; top:298; z-index:10; visibility:visible;">
<a href="#" onMouseOver="document.images['videre'].src='video.gif';" onMouseOut="document.images['videre'].src='videre.gif';"><img name="videre" src="videre.gif" width=93 height=30 alt="" border="0"></a>
</div>
<div ID="lnkfive" style="position:absolute; left:374; top:380; z-index:10; visibility:visible;">
<a href="#" onMouseOver="document.images['legere'].src='text.gif';" onMouseOut="document.images['legere'].src='legere.gif';"><img name="legere" src="legere.gif" width=93 height=35 alt="" border="0"></a>
</div>
</body>
</html>